import ajax from './public'

export function getCartList (params) {
  return ajax.fetchGet('/goods/cartList', params)
}

export function addToCart (params) {
	return ajax.fetchPost('/goods/addToCart', params)
}

export function updateCartNum (params) {
	return ajax.fetchPost('/goods/updateCartNum', params)
}

export function delCartInfo (params) {
	return ajax.fetchPost('/goods/delCartInfo', params)
}

